package com.fly.product.repository;

import com.fly.product.domain.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author Fly
 * @Description
 * @Date Created in 21:38 2018/3/30
 * @Modified by
 */
public interface ProductCategoryRepository extends JpaRepository<ProductCategory,Integer> {

    /**
     * 查找类目列表
     * @param categoryTypeList
     * @return
     */
    List<ProductCategory> findAllByCategoryTypeIn(List<Integer> categoryTypeList);
}
